package com.ibeeking.found.content.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName BroadcastAnchorDO
 * @Description
 * @Author ibeeking
 * @Date 2022-02-18 14:11
 **/
@Data
@TableName("broadcast_anchor")
public class BroadcastAnchorDO  implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 主播名称
     */
    @TableField(value="anchor_name")
    private String anchorName;

    /**
     * 主播手机号
     */
    @TableField(value="anchor_mobile")
    private String anchorMobile;

    /**
     * 性别：1->男；2->女
     */
    @TableField(value = "anchor_sex")
    private Integer anchorSex;

    /**
     * 成员微信号
     */
    @TableField(value = "anchor_wechat")
    private String anchorWechat;

    /**
     * 成员昵称
     */
    @TableField(value="anchor_nickname")
    private String anchorNickname;
    /**
     * 成员头像
     */
    @TableField(value="anchor_headimg")
    private String anchorHeadimg;
    /**
     * 成员OpenId
     */
    @TableField(value="anchor_openid")
    private String anchorOpenid;
    /**
     * 成员角色：1=主播；2=管理员；3=运营者
     */
    @TableField(value="anchor_role")
    private Integer anchorRole;

    /**
     * 发布状态 1-公开 0-未公开
     */
    @TableField(value="anchor_status")
    private Integer anchorStatus;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("create_by")
    private Long createBy;

    @TableField("modify_time")
    private LocalDateTime modifyTime;

    @TableField("modify_by")
    private Long modifyBy;
}
